Save scancode inside GdkEventPrivate
authorFrediano Ziglio <fziglio@redhat.com>
Thu, 21 Apr 2016 13:30:58 +0000 (14:30 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Apr 2016 02:35:47 +0000 (22:35 -0400)
commitcf14fea5a87f7a6c4e1c97081ad6b5cd27cc83b1
treef7b64bf96f30f882799b20c93e1020968feee38b
parentc081ca2d4c589fb77e097ad5ee2a9978bd91d2ed
Save scancode inside GdkEventPrivate

Windows save in hardware_keycode an information which is not so low
level and some application require the hardware scancode.
As Windows provides this information save it in GdkEventPrivate
and provide a function to get this information.
For no Windows system the function return the hardware_keycode instead.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=765259
gdk/broadway/gdkeventsource.c
gdk/gdkevents.c
gdk/gdkevents.h
gdk/gdkinternals.h
gdk/mir/gdkmireventsource.c
gdk/quartz/gdkevents-quartz.c
gdk/wayland/gdkdevice-wayland.c
gdk/win32/gdkevents-win32.c
gdk/x11/gdkdevicemanager-core-x11.c
gdk/x11/gdkdevicemanager-xi2.c